package com.bootdo.appsystem.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.appsystem.dao.BanksDao;
import com.bootdo.appsystem.domain.BanksDO;
import com.bootdo.appsystem.service.BanksService;



@Service
public class BanksServiceImpl implements BanksService {
	@Autowired
	private BanksDao banksDao;
	
	@Override
	public BanksDO get(Integer id){
		return banksDao.get(id);
	}
	
	@Override
	public List<BanksDO> list(Map<String, Object> map){
		return banksDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return banksDao.count(map);
	}
	
	@Override
	public int save(BanksDO banks){
		return banksDao.save(banks);
	}
	
	@Override
	public int update(BanksDO banks){
		return banksDao.update(banks);
	}
	
	@Override
	public int remove(Integer id){
		return banksDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return banksDao.batchRemove(ids);
	}
	
}
